// pages/ChatList/ChatList.js
const axio = require('../../utils/http.js')

Page({
  data: {
    inputShowed: false,
    inputVal: ""
  },
  showInput: function () {
    this.setData({
      inputShowed: true
    });
  },
  hideInput: function () {
    this.setData({
      inputVal: "",
      inputShowed: false
    });
  },
  clearInput: function () {
    this.setData({
      inputVal: ""
    });
  },
  inputTyping: function (e) {
    this.setData({
      inputVal: e.detail.value
    });
  },

  onLoad:function(options){
    wx.setNavigationBarTitle({
      title: '聊天列表',
    })
    wx.hideShareMenu({

    })

    axio.POST("true","",{},function(res){
      
    })
  },

});